package eszkola;

import java.math.BigDecimal;

public class Teacher extends Person {
	private String password;

	public Teacher(BigDecimal uid, String name, String surname, String password) {
		super(uid, name, surname);
		setPassword(password);
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "Teacher [getUid()=" + getUid()
				+ ", getName()=" + getName() + ", getSurname()=" + getSurname()
				+ ", password=" + password + "]";
	}

}
